<template>
  <div class="to-examine pb70">
    <div class="container bg-c-fff">
      <h2 class="box-title">{{title}}</h2>
      <img src="../assets/sh.png" alt="" class="db auto">
      <p class="tc">{{text}}</p>
    </div>
  </div>
</template>
<script type="text/javascript">
export default {
  components: {},
  data() {
    return {}
  },
  computed: {
    title() {
      if (this.$store.state.lawyerLoginData.isReviewed === 0 || this.$store.state.lawfirmLoginData.isReviewed === 0 || !this.$store.state.lawyerLoginData.isReviewed) {
        return '等待审核'
      }
      if (this.$store.state.lawyerLoginData.isReviewed === 2 || this.$store.state.lawfirmLoginData.isReviewed === 2) {
        return '已被拒绝'
      }
    },
    text() {
      if (this.$store.state.lawyerLoginData.isReviewed === 0 || this.$store.state.lawfirmLoginData.isReviewed === 0 || !this.$store.state.lawyerLoginData.isReviewed) {
        return '请耐心等待审核， 审核通过即可登录。审核结果， 将以短信的方式通知您， 请注意查收。'
      }
      if (this.$store.state.lawyerLoginData.isReviewed === 2 || this.$store.state.lawfirmLoginData.isReviewed === 2) {
        return '很抱歉，您已被拒绝！'
      }
    }
  }
}

</script>
<style type="text/css" scoped>
.to-examine {
  margin-top: 60px;
}

.to-examine img {
  margin-top: 108px;
  margin-bottom: 30px;
}

.to-examine p {
  line-height: 30px;
  padding-bottom: 120px;
}

.box-title {
  color: #a5a5a5;
  line-height: 40px;
  font-weight: normal;
  border-bottom: 1px solid #f2f2f2;
  font-size: 14px;
  padding-left: 40px;
}

</style>
